using Assets.Scripts.GDK;
using UnityEngine;


namespace Brick
{
	public class BallFindWayModule : gdk_base_Imodule
	{
		private Vector2 shootPos;

		private Vector2 wordShootPos;

		private bool isSet;

		private int allBalls = 50;

		public void SetWordShootPos(Vector2 pos)
		{
			wordShootPos = pos;
		}

		public Vector2 GetWordShootPos()
		{
			return wordShootPos;
		}

		public void SetShootPos(Vector2 pos)
		{
			if (!isSet)
			{
				shootPos = pos;
			}
		}

		public Vector2 getShootPos()
		{
			return shootPos;
		}

		public bool IsShoot()
		{
			return isSet;
		}

		public void SetShoot(bool haveMuzzel)
		{
			isSet = haveMuzzel;
		}

		public void SetAllBallNum(int num)
		{
			allBalls = num;
		}

		public int GetAllBallNums()
		{
			return allBalls;
		}
	}
}

